package cn.bone.ou.community.param;

import lombok.Data;

import javax.validation.constraints.NotNull;

public class CommitteeParam {

    @Data
    public static class GetParam{
        @NotNull
        private Integer communityId;
    }

    @Data
    public static class AddParam {
        @NotNull
        private Integer communityId;
        @NotNull
        private String name;
        @NotNull
        private Integer num;
        @NotNull
        private String startDay;
        @NotNull
        private String endDay;
        @NotNull
        private String content;
    }

    @Data
    public static class ModifyParam{
        @NotNull
        private Integer committeeId;
        @NotNull
        private String name;
        @NotNull
        private Integer num;
        @NotNull
        private String startDay;
        @NotNull
        private String endDay;
        @NotNull
        private String content;
    }

    @Data
    public static class ListMemberParam {
        @NotNull
        private Integer communityId;
        @NotNull
        private Integer start;
        @NotNull
        private Integer num;
    }

    @Data
    public static class AddMemberParam{
        @NotNull
        private Integer communityId;
        @NotNull
        private String phoneNum;
        @NotNull
        private Integer memberType;
    }

    @Data
    public static class DeleteMemberParam{
        @NotNull
        private Integer committeeMemberId;
    }
}
